package com.ruyuan.eshop.common.model.trade.profile;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * @author pwd
 * @version 1.0
 */
@Component
@Order(value = 2)
public class ProfileParseRunner implements ApplicationRunner {

    @Autowired
    private ProfileParse profileParse;

    @Override
    public void run(ApplicationArguments args) throws Exception {
        profileParse.parseProfile();
    }
}
